<script setup>

</script>

<template>
  <router-link to="/">Home</router-link>
  &nbsp;
  <router-link to="/user">User</router-link>

  <!--<keep-alive>
    <router-view></router-view>
  </keep-alive>-->
  <router-view v-slot="{ Component }">
    <keep-alive>
      <component :is="Component"/>
    </keep-alive>
  </router-view>

</template>

<style scoped>

</style>